<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 
class Admin_model extends CI_Model {
	
	function getAdminDetail($username,$password) {
		$this->db->where('admin_login',$username);
		$this->db->where('admin_password',$password);
		$query	= $this->db->get('cz_admin');
		$result	= $query->row();
		return $result;
	}	
}